/********************************************************************************
 *      Copyright:  (C) 2023 Xie Mujie<1289180278@qq.com>
 *                  All rights reserved.
 *
 *       Filename:  my_mqtt.h
 *    Description:  This file 
 *
 *        Version:  1.0.0(2023年07月24日)
 *         Author:  Xie Mujie <1289180278@qq.com>
 *      ChangeLog:  1, Release initial version on "2023年07月24日 15时00分47秒"
 *                 
 ********************************************************************************/
#ifndef _MY_MQTT_H
#define _MY_MQTT_H

#include "main.h"

struct mosquitto *mqtt_init(mqtt_conf_t *conn_par);
int mqtt_connect(struct mosquitto *mosq, mqtt_conf_t *conn_par);
void mqtt_clean(struct mosquitto *mosq);

#endif
